/* Reset y body */
body {
  background-color: #0a0713;
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  text-align: center;
}

/* Sección Informativa Pre-Clubes ------------------------------------------*/
.info-pre-clubes {
  background: linear-gradient(to top, rgb(7, 5, 29), rgb(0, 0, 0));
  padding: 60px 20px;
  text-align: left;
  color: #fff;
}

.info-pre-clubes .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.info-text {
  flex: 1;
  min-width: 300px;
  animation: slideInLeft 1.2s ease forwards;
  opacity: 0;
}

.info-text h2 {
  font-size: 2rem;
  color: #ff0066;
  margin-bottom: 20px;
  text-shadow: 1px 1px 5px rgba(0,0,0,0.5);
}

.info-text p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #ddd;
  margin-bottom: 15px;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.info-media {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
  animation: slideInRight 1.2s ease forwards;
  opacity: 0;
}

.info-media img, .info-media video {
  width: 100%;
  max-width: 500px;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

/* Animaciones */
@keyframes slideInLeft {
  0% { opacity: 0; transform: translateX(-50px); }
  100% { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
  0% { opacity: 0; transform: translateX(50px); }
  100% { opacity: 1; transform: translateX(0); }
}

/* Responsive */
@media (max-width: 992px) {
  .info-pre-clubes .container {
    flex-direction: column;
    text-align: center;
  }
  .info-text, .info-media {
    animation: fadeIn 1s ease forwards;
  }
}

@keyframes fadeIn {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* ================================= CARRUSEL ======================================= */
.carousel-item {
  height: 100vh;
  min-height: 400px;
  background: no-repeat center center scroll;
  background-size: cover;
  position: relative;
  overflow: hidden;
}

/* Overlay oscuro para mejorar contraste */
.carousel-item::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

/* Texto del carrusel */
.hero-texto {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  z-index: 2;
}

/* Animaciones de entrada para cada slide */
.hero-texto h1 {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 15px;
  opacity: 0;
  transform: translateY(-50px);
  animation: slideFadeDown 1s ease forwards;
}

.hero-texto p {
  font-size: 1.3rem;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(50px);
  animation: slideFadeUp 1s ease forwards 0.5s;
}

/* Botón animado */
.btn-personalizado {
  background-color: #bf1597;
  color: white;
  font-weight: bold;
  border-radius: 20px;
  padding: 10px 25px;
  opacity: 0;
  transform: scale(0.8);
  animation: scaleFade 0.8s ease forwards 1s;
}

.btn-personalizado:hover {
  background-color: #6b1155;
  color: #fff;
}

/* Keyframes */
@keyframes slideFadeDown {
  0% { opacity: 0; transform: translateY(-50px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes slideFadeUp {
  0% { opacity: 0; transform: translateY(50px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes scaleFade {
  0% { opacity: 0; transform: scale(0.8); }
  100% { opacity: 1; transform: scale(1); }
}

/* ====================== Sección Clubes ====================== */
.seccion-clubes {
  background: linear-gradient(45deg, #ff5f87, #4d8899);
  padding: 60px 20px;
  text-align: center;
  animation: fadeIn 1s ease forwards; /* Animación al cargar */
}

.seccion-clubes h2 {
  color: #ffffff;
  margin-bottom: 40px;
  font-size: 2rem;
  font-weight: bold;
  opacity: 0;
  animation: slideInDown 1s ease forwards;
}

/* Container flexible */
.seccion-clubes .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

/* Cada club (sin card) */
.club {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.4s ease, filter 0.4s ease;
  width: 220px;
  opacity: 0;
  animation: fadeInUp 1s ease forwards;
}

.club:nth-child(1) { animation-delay: 0.2s; }
.club:nth-child(2) { animation-delay: 0.4s; }
.club:nth-child(3) { animation-delay: 0.6s; }
.club:nth-child(4) { animation-delay: 0.8s; }
.club:nth-child(5) { animation-delay: 1s; }
.club:nth-child(6) { animation-delay: 1.2s; }

.club img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  border-radius: 8px;
  padding: 10px;
  transition: transform 0.4s ease, filter 0.4s ease;
}

/* Efecto hover elegante */
.club:hover img {
  transform: translateY(-10px) scale(1.05) rotate(-1deg);
  filter: brightness(1.1);
}

.club p {
  margin-top: 10px;
  font-weight: bold;
  color: #fff;
  text-transform: uppercase;
  text-align: center;
  transition: color 0.3s ease, transform 0.3s ease;
}

.club:hover p {
  color: #431ee9;
  transform: translateY(-3px);
}

/* ====================== Texto antes del footer ====================== */
.info-pre-footer {
  background: #f5f5f5;
  padding: 60px 20px;
  text-align: center;
  animation: fadeIn 1.2s ease forwards;
  border-top: 5px solid #98079a; /* línea superior elegante */
}

.info-pre-footer h2 {
  font-size: 2rem;
  color: #2a1078;
  margin-bottom: 10px;
  font-weight: bold;
  animation: slideInDown 1s ease forwards;
  opacity: 0;
}

.info-pre-footer h3 {
  font-size: 1.3rem;
  color: #6b1155;
  margin-bottom: 20px;
  font-weight: 500;
  font-style: italic;
  animation: slideInUp 1s ease forwards;
  opacity: 0;
  animation-delay: 0.3s;
}

.info-pre-footer p {
  font-size: 1.1rem;
  color: #333;
  max-width: 850px;
  margin: 15px auto;
  line-height: 1.7;
  opacity: 0;
  animation: fadeIn 1s ease forwards;
  animation-delay: 0.5s;
}

.info-pre-footer ul {
  max-width: 700px;
  margin: 20px auto;
  padding-left: 20px;
  text-align: left;
  list-style-type: disc;
  color: #444;
  font-size: 1rem;
  line-height: 1.6;
  opacity: 0;
  animation: fadeIn 1s ease forwards;
  animation-delay: 0.7s;
}

/* Animación de slideUp para subtítulo */
@keyframes slideInUp {
  0% { opacity: 0; transform: translateY(50px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Animaciones existentes */
@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes slideInDown {
  0% { opacity: 0; transform: translateY(-50px); }
  100% { opacity: 1; transform: translateY(0); }
}


/* ====================== Animaciones ====================== */
@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes slideInDown {
  0% { opacity: 0; transform: translateY(-50px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes slideInLeft {
  0% { opacity: 0; transform: translateX(-50px); }
  100% { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
  0% { opacity: 0; transform: translateX(50px); }
  100% { opacity: 1; transform: translateX(0); }
}

/* Responsive */
@media (max-width: 992px) {
  .seccion-clubes .container { gap: 20px; }
}

@media (max-width: 576px) {
  .seccion-clubes .container { flex-direction: column; align-items: center; }
}






/* PIE */

.footer-brand {
  margin-top: 40px;
}

.footer-brand h2{
  color: #ff00a68f;
}
.footer-brand p{
  color: #ff00a69b;
}
.footer-sections {
  display: flex;
  color: #d6c5ff;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 30px;
  margin-bottom: 45px;
}
.footer-section {
  flex: 1;
  min-width: 250px;
}
.footer-section h3 {
  font-size: 1.2rem;
  color: #bb1497; 
  margin-bottom: 20px;
  border-bottom: 1px solid rgb(45, 36, 57);
  padding-bottom: 8px;
}
.footer-section ul {
  list-style: none;
  padding: 0;
}
.footer-section ul li {
  margin-bottom: 12px;
  font-size: 0.95rem;
}
.footer-section ul li a {
  color:  #d6c5ff;
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer-section ul li a:hover {
  color: #7a64e4; /* Morado suave */
}

/* Redes sociales */
.footer-social {
  text-align: center;
  margin-bottom: 30px;
}
.footer-social a {
  color: #bbb;
  margin: 0 10px;
  font-size: 1.5rem;
  transition: color 0.3s ease, transform 0.3s ease;
}
.footer-social a:hover {
  color: #17b2a5; /* Dorado suave */
  transform: scale(1.2);
}

/* Inferior */
.footer-bottom {
  text-align: center;
  font-size: 0.9rem;
  color: #888;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
}
.footer-bottom a {
  color: #c21691;
  text-decoration: none;
}
.footer-bottom a:hover {
  color: #fff;
}

/* Diseñadores */
.footer-designers {
  margin-top: 10px;
  font-style: italic;
  color: #aaa;
}
.footer-designers span {
  color: #930547;
  font-weight: bold;
}